package com.hbpu.encap.list;

import java.util.ArrayList;

public class ListTest {
    public static void main(String[] args) {
        ArrayList arrayList = new ArrayList();

        for (int i = 0; i < 10; i++) {
            arrayList.add(i);
        }

        arrayList.add(11);

        for (Object o : arrayList) {
            System.out.println(o);
        }
    }
}
